package com.imufe.chemicalenterprisedangerwarning.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.imufe.chemicalenterprisedangerwarning.entity.po.EnterprisePO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imufe.chemicalenterprisedangerwarning.entity.po.SafetySupervisionBureauPO;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.EnterpriseVO;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.SafetySupervisionBureauVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author BaiBan
 * @since 2022-09-24
 */
@Repository
public interface EnterpriseMapper extends BaseMapper<EnterprisePO> {

    IPage<EnterpriseVO> page(Page<EnterpriseVO> page, @Param("ew") Wrapper<SafetySupervisionBureauPO> queryWrapper);
}
